<h1>GC</h1>
<h2>Lista de Professores</h2>

<table border="1">
  <thead>
    <tr>
      <th>Id</th>
      <th>Nome</th>
      <th>Cpf</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($gc_professores as $gc_professor): ?>
    <tr>
        <td><?php echo link_to($gc_professor->getId(), 'professores_edit' , $gc_professor) ?></td>
      <td><?php echo $gc_professor->getNome() ?></td>
      <td><?php echo $gc_professor->getCpf() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('professores_new') ?>">Adicionar Professor</a>
  
  <a href="<?php echo url_for('alunos') ?>">Voltar para Alunos</a>
  
